package com.coding.service;


import com.coding.base.pojo.BaseModel;
import com.coding.pojo.Poem;
import com.coding.pojo.User;

public interface BackstageService {
//   user后台管理
    void getnewuserid(BaseModel baseModel)throws Exception;
    void getuserlist(BaseModel baseModel)throws Exception;
    void insertuser(User user, BaseModel baseModel)throws Exception;
    void deleteuser(int user_id, BaseModel baseModel)throws Exception;
    void updateuser(User user, BaseModel baseModel)throws Exception;
    void changeuser_status(int user_id, BaseModel baseModel)throws Exception;
    //poem后台管理
    void getpoemlist(BaseModel baseModel)throws Exception;
    void getnewpoemid(BaseModel baseModel)throws Exception;
    void insertpoem(Poem poem, BaseModel baseModel)throws Exception;
    void updatepoem(Poem poem, BaseModel baseModel)throws Exception;
    void deletepoem(int poem_id, BaseModel baseModel)throws Exception;

}
